package org.dbc;
import java.sql.Connection;
import java.sql.DatabaseMetaData;

public class Test {
	public static void main(String[] args){
		try{
		    DatabaseConnection dbc =  new DatabaseConnection();//实例化databaseconnection
		    Connection con = dbc.getConn();
		    DatabaseMetaData dbm = con.getMetaData();
		    System.out.print(dbm.getDatabaseProductVersion());
		    
		}
		catch(Exception e){
			e.printStackTrace();
		}
	}
}
